// 首页逻辑
Page({
  data: {
    services: [
      { icon: "💆", name: "深层净肤", desc: "毛囊净化" },
      { icon: "💧", name: "深层补水", desc: "四因子水润" },
      { icon: "🛡️", name: "敏肌修护", desc: "细胞激活" },
      { icon: "✨", name: "美白提亮", desc: "蓝钻植萃" },
      { icon: "🔴", name: "痘肌救星", desc: "痤疮根治" },
      { icon: "👵", name: "紧致抗衰", desc: "菁纯抗衰" }
    ],
    features: [
      { icon: "🎁", title: "积分", desc: "积分商城当钱花" },
      { icon: "👤", title: "顾问", desc: "美容顾问私人定制" },
      { icon: "💰", title: "活动", desc: "宠粉活动省更多" }
    ]
  },

  onLoad() {
    console.log('首页加载')
  },

  // 预约按钮点击
  onBookTap() {
    wx.navigateTo({
      url: '/pages/appointment/appointment'
    })
  },

  // 商品按钮点击
  onProductTap() {
    wx.navigateTo({
      url: '/pages/products/products'
    })
  }
})